package com.sls.web.manager.game.service;

import java.util.List;

import com.sls.web.manager.game.pojo.GoodsSupply;
import com.sls.web.manager.game.querybean.GoodsSupplyQuery;
import com.sls.web.manager.page.Pagination;
import com.sls.web.manager.pojo.UserInfoVO;

public interface GoodsSupplyService {
	public boolean add(GoodsSupply goodsSupply, UserInfoVO userInfoVO)
			throws Exception;

	public boolean update(GoodsSupply goodsSupply, UserInfoVO userInfoVO)
			throws Exception;

	public boolean updateState(String id, String state, String goodsId,
			UserInfoVO userInfoVO) throws Exception;

	public Pagination<GoodsSupply> queryGoodsSupply(
			GoodsSupplyQuery goodsSupplyQuery, UserInfoVO userInfoVO)
			throws Exception;

	public GoodsSupply queryGoodsSupplyById(String id, UserInfoVO userInfoVO) throws Exception;

	public List<String> querySupplyNames(UserInfoVO userInfoVO)
			throws Exception;

	public List<GoodsSupply> querySupplyInfo(String supplierName, String state,
			UserInfoVO currentOperator) throws Exception;
	
}
